package JoReg

type Pattern struct {
	reg           string
	nfaManagerPtr *NfaManager
}

func MakePattern(reg string) *Pattern {
	return &Pattern{
		reg:           reg,
		nfaManagerPtr: MakeNfaManager(reg),
	}
}

func (this *Pattern) match(str string) []string {
	return nil
}

func (this *Pattern) parse() {
	this.nfaManagerPtr.parse()
}
